export function useCopy() {
  const copy = (text: string) => {
    uni.setClipboardData({
      data: String(text),
      success: function () {
        console.log("设置剪贴板成功");
      },
    });
  };
  return {
    copy,
  };
}
